package com.ruoyi.mapper;

import com.ruoyi.domain.AbilityPath;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper

/**
 * 路由Mapper接口
 * 
 * @author ruoyi
 * @date 2024-09-03
 */
public interface AbilityPathMapper 
{
    /**
     * 查询路由
     * 
     * @param id 路由主键
     * @return 路由
     */
    public AbilityPath selectAbilityPathById(Long id);

    /**
     * 查询路由列表
     * 
     * @param abilityPath 路由
     * @return 路由集合
     */
    public List<AbilityPath> selectAbilityPathList(AbilityPath abilityPath);

    /**
     * 新增路由
     * 
     * @param abilityPath 路由
     * @return 结果
     */
    public int insertAbilityPath(AbilityPath abilityPath);

    /**
     * 修改路由
     * 
     * @param abilityPath 路由
     * @return 结果
     */
    public int updateAbilityPath(AbilityPath abilityPath);

    /**
     * 删除路由
     * 
     * @param id 路由主键
     * @return 结果
     */
    public int deleteAbilityPathById(Long id);

    /**
     * 批量删除路由
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAbilityPathByIds(Long[] ids);


    public AbilityPath checkPathUnique(String path);
}
